package org.dev.pf.iof.systemmanage.dao;

import java.util.List;

import org.dev.pf.iof.base.dao.HibernateBaseDao;
import org.dev.pf.iof.systemmanage.model.IofUserinfo;
import org.dev.pf.iof.systemmanage.vo.UserSearchVO;

public class UserManageDaoImpl extends HibernateBaseDao implements
		IUserManageDao {

	public List<IofUserinfo> selectUser(UserSearchVO searchVo) throws Exception {
		try {
			List<IofUserinfo> results = this.getSession()
					.createQuery("SELECT user FROM IofUserinfo user").list();
			return results;
		} catch (Exception e) {
			e.printStackTrace();
			throw e;
		}

	}

}
